page_alloc: Hold heap_lock while adjusting page states to/from PGC_state_free.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 13 Sep 2010 16:08:31 +0000 (17:08 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 13 Sep 2010 16:08:31 +0000 (17:08 +0100)
commit8b8b7e6c90d7af1c29567d1cb2bbc70492b58bbf
tree8f074c8bbea1e141b9bf9950f3f2bfa805b9c7d1
parent8462487d489956d294c453a33ff922e17f6753fc
page_alloc: Hold heap_lock while adjusting page states to/from PGC_state_free.

This avoids races with buddy-merging logic in free_heap_pages().

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/page_alloc.c